<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p id="p1">123</p>
    <script>
        // p1.style.fontSize="100px";
        // p1.style['font-size']="100px";

        var obj = {
            name:"luxun",
            'ab-cd':56
        }
        console.log(obj.name);
        // 支持变量
        console.log(obj['ab-cd']);


        // document.getElementById("x1").value;
        document.getElementsByClassName()
        document.querySelector()
        document.querySelectorAll()
        document.getElementsByTagName()
    </script>
</body>
</html>